package edu.zjut.hjg.saas.biz.support;

/**
 * 服务层错误
 * 
 * @author hjg
 */
public enum ServiceError {
    LOGIN_ID_DUPLICATE {
        @Override
        public String getMessage() {
            return "登录名重复";
        }
    },
    SITE_DOMAIN_DUPLICATE {
        @Override
        public String getMessage() {
            return "网站域名重复";
        }
    },
    PASSWORD_NOT_MATCH {
        @Override
        public String getMessage() {
            return "密码错误";
        }
    },
    APP_ID_NOT_FOUND {
        @Override
        public String getMessage() {
            return "网站ID不存在";
        }
    },
    BALANCE_NOT_ENOUGH {
        @Override
        public String getMessage() {
            return "账户余额不足";
        }
    };
    public abstract String getMessage();
}
